package com.project.bean;

/**
 * 频道表实体类
 */
public class ChannelBean {
    /**编号*/
    private int id;
    /**频道名*/
    private String name;
    /**频道内容*/
    private String info;
    private int num;

    public ChannelBean() {
    }

    public ChannelBean(String name, String info) {
        this.name = name;
        this.info = info;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


    @Override
    public String toString() {
        return "ChannelBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", info='" + info + '\'' +
                ", num=" + num +
                "}\n";
    }
}
